﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script type="text/javascript">

//        document.write(window.location + "<br/>");
//        document.write(window.location.href + "<br/>");
//        document.write(window.location.protocol + "<br/>");
//        document.write(window.location.host + "<br/>");
//        document.write(window.location.hostname + "<br/>");
//        document.write(window.location.port + "<br/>");
//        document.write(window.location.pathname + "<br/>");
//        document.write(window.location.search + "<br/>");
//        document.write(window.location.hash);

//        var kvDict = new Array();
//        //?ParamA=aaa&ParamB=bbb&ParamC=ccc
//        //ParamA":"aaa","ParamB":"bbb,ParamC:ccc
//        var str = document.location.href.toString();
//        str = str.replace("?", "");
//        //ParamA=aaa&ParamB=bbb&ParamC=ccc
//        var kvArr = str.split("&");
//        //[ParamA=aaa,ParamB=bbb,ParamC=ccc]
//        for (var i = 0; i < kvArr.length; i++) {
//            var kv = kvArr[i];
//            //ParamA=aaa
//            var kvObj = kv.split("=");
//            //[ParamA,aaa]
//            kvDict[kvObj[0]] = kvObj[1];
//        }

        function DoReload() {
            //window.location.reload();
            window.location.href = window.location.href;
        }
    </script>
</head>
<body>
<input type="text" />window.location.reload();
<input type="button" value="reload" onclick="DoReload();" />
</body>
</html>
